﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> 
<title>offset</title>
<script type="text/javascript" src="jquery-1.4.3.min.js"></script> 
</head>
<body>
<div id="divID" style="display:none;background:#eee;border:3px;z-index:100;width:90px;height:100px;">按键垃圾法拉伐开发及爱我显示我自己</div>
<table border="1">
	<tr>
		<td onmousemove="show();" id="xian" onmouseout="hide();">
			显示
		</td>
		<td onmousemove="hide();">
			不显示
		</td>
	</tr>
</table>

ajflajflwjjqewq<bt/>

qewqrewqrqrwq<bt/>

qrewqrwqrweqre<bt/>

qrewqrewqrewr<bt/>
</body>
<script type="text/javascript">
function show(){
	$("#divID").css({ 
		position:"absolute",		
		left:$("#xian").offset().left+150+"px", 
		top:$("#xian").offset().top+125+"px" 
		}); 
		///$("#divID").toggle();
	$("#divID").show();
}
function hide(){
	$("#divID").hide();
}
</script>
</html> 
